package org.hdl.anima.transport;
/**
 * 
 * @author qiuhd
 * @since  2014-7-24
 * @version V1.0.0
 */
public interface ChannelHandler {

	void connected(Channel channel) throws RemoteException;
	
	void disconnected(Channel channel) throws RemoteException; 
	
	void sent(Channel channel,Object message) throws RemoteException;
	
	void received(Channel channel,Object message) throws RemoteException;
	
	void caught(Channel channel,Throwable t) throws RemoteException;
}